﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.Web.Security;
using System.Web.Configuration;

namespace MoneyBook.Web.Services {
    internal static class Authentication {
        public static string GetPasswordHash(string password) {
            return FormsAuthentication.HashPasswordForStoringInConfigFile(password, FormsAuthPasswordFormat.SHA1.ToString());
        }

    }
}